home *** CD-ROM | disk | FTP | other *** search
- // ******************************************************************
- //
- // adrdlg.h : header file
- //
- // Most of this file is created by ClassWizard
- //
- // (C) 1993 POET Software
- //
- // ******************************************************************
-
- #include "..\resource.h" // resource IDs
-
- #ifndef __ADRDLG_H_
- #define __ADRDLG_H__
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CAddressDlg dialog
-
- class CAddressDlg : public CDialog
- {
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
-
- // Generated message map functions
- //{{AFX_MSG(CAddressDlg)
- // NOTE: the ClassWizard will add member functions here
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- CAddressDlg(CWnd* pParent = NULL); // standard constructor
- ~CAddressDlg () {}
-
- void SetAddress (char *street, int zip, char *city)
- {m_strNewStreet = street; m_intNewZIP = zip; m_strNewCity = city;};
-
- char *GetStreet () {return m_strNewStreet.GetBuffer (m_strNewStreet.GetLength ());}
- int GetZip () {return m_intNewZIP;}
- char *GetCity () {return m_strNewCity.GetBuffer (m_strNewCity.GetLength ());}
-
- // Dialog Data
- //{{AFX_DATA(CAddressDlg)
- enum { IDD = IDR_ADRESS };
- CString m_strNewCity; // member variable of edit control City
- CString m_strNewStreet; // member variable of edit control Street
- int m_intNewZIP; // member variable of edit control ZIP
- //}}AFX_DATA
-
- };
-
- #endif // __ADRDLG_H__
-
-